home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 December / CHIP Turkiye Aralık 1997.iso / grafik / masterc / demo / disk8 / disk8.dat < prev    next >
Encoding:
Text File  |  1997-01-08  |  3.1 KB  |  132 lines

  1. /* __________ PROMPT FOR NT VERSION __________ */
  2.  
  3. @If ("@GetEnv("OS")" == "Windows_NT")                       // Windows NT
  4.  
  5. @GetOption
  6.     @Cls
  7.     Is your current Windows NT version 4.0 or later .....
  8.  
  9.     @DlgCtrlSize(0,4,2,6,12)
  10.     @Option 100 = "Yes"
  11.     @Option 200 = "No"
  12. @EndOption
  13.  
  14. @If (100 [= @Option)
  15.     @ClearGroup(E)
  16. @EndIf
  17.  
  18. @EndIf
  19.  
  20. /* __________ APPLICATION DISK #8 __________ */
  21.  
  22. @DefineDisk
  23.     @Label = "Disk #8"
  24.  
  25.     @BeginLib OPENGL1.RED
  26.         @File *.*
  27.     @EndLib
  28.     @BeginLib OPENGL2.RED
  29.         @File *.* @Group E
  30.     @EndLib
  31.  
  32.     @BeginLib SAMENG1.RED
  33.         @File *.GE3 @Out @Outdrive:\\@Subdir\\GE3\\*.GE3
  34.         @File *.NCI @Out @Outdrive:\\@Subdir\\NCI\\*.NCI
  35.         @File *.PRM @Out @Outdrive:\\@Subdir\\PRM\\*.PRM
  36.     @EndLib
  37.  
  38.     @BeginLib SAMMET1.RED
  39.         @File *.GE3 @Out @Outdrive:\\@Subdir\\GE3\\*.GE3
  40.         @File *.NCI @Out @Outdrive:\\@Subdir\\NCI\\*.NCI
  41.         @File *.PRM @Out @Outdrive:\\@Subdir\\PRM\\*.PRM
  42.     @EndLib
  43.  
  44. @EndDisk
  45.  
  46. /* __________ UPDATE MASTERCAM.INI __________ */
  47.  
  48. @SetINI ("@LowName", "maindir", "@Outdrive:\\@Subdir", "mastrcam.ini")
  49. @If ('K' [= @Group)
  50.     @SetINI ("@LowName", "units", "E", "mastrcam.ini")
  51. @Else
  52.     @SetINI ("@LowName", "units", "M", "mastrcam.ini")
  53. @Endif
  54.  
  55. /* __________ PROMPT FOR SHADING MODE (SAVE TO MASTERCAM.INI) __________ */
  56.  
  57. @If ('R' [! @Group)                     /* 95 or NT */
  58.  
  59. //@GetOption
  60. //    @Cls
  61. //    Please specify default shading mode .....
  62. //    (see glreadme.txt for more info)
  63. //
  64. //    @DlgCtrlSize(0,4,2,6,26)
  65. //    @Option 100 = "OpenGL (recommended)"
  66. //    @Option 200 = "v6.0"
  67. //@EndOption
  68.  
  69. //@If (100 [= @Option)
  70.     @SetINI ("common", "shading", "GL", "mastrcam.ini")
  71. //@Else
  72. //    @SetINI ("common", "shading", "V6", "mastrcam.ini")
  73. //@EndIf
  74.  
  75. //@OpGLIco = "[AddItem(NOTEPAD GLREADME.TXT,glreadme.txt,,,,,@Outdrive:\\@Subdir)]"
  76.  
  77. @EndIf
  78.  
  79. /* __________ CREATE MASTERCAM GROUP __________ */
  80.  
  81. @CGroup = "[CreateGroup(Mastercam)]"
  82. @AppMItem = "[AddItem(@Outdrive:\\@Subdir\\DEMO6.EXE,@IconTXT,,,,,@Outdrive:\\@Subdir)]"
  83. @ProgramManager ("@CGroup@AppMItem@OpGLIco")
  84.  
  85. /* __________ WIN32S DISK __________ */
  86.  
  87. @If ('R' [= @Group)
  88.  
  89. @If (5000 [= @OPTION)
  90.     @ChDrive (@StartupDrive)
  91.     @ChDir ("@StartupDir")
  92. @Endif
  93.  
  94. @Display
  95.     @Cls
  96.     @Product installation complete ...
  97.    
  98.     Select OK to run Microsoft Win32s Setup.
  99.     Select CANCEL to quit.
  100.  
  101.     Installation of Win32s is required to run Mastercam.
  102.     Please select OK unless you are sure that the latest
  103.     version of Win32s has already been installed (7/95).
  104.  
  105.     @Pause
  106. @EndDisplay
  107.  
  108. @If (5000 [= @OPTION)
  109.     @LocSuffix = "\\MILL\\WIN32S1"
  110.     @ChDir ("@LocPrefix@LocSuffix")
  111.     @Chain ("Win32s Disk #1", "WIN32S1.DAT")
  112. @Else
  113.     @Chain ("Win32s Disk #1", "@InDrive:\\win32s1.dat")
  114. @EndIf
  115.  
  116. @EndIf
  117.  
  118. /* __________ RETURN TO STARTUP DIRECTORY __________ */
  119.  
  120. @If (5000 [= @OPTION)
  121.     @ChDrive (@StartupDrive)
  122.     @ChDir ("@StartupDir")
  123. @Endif
  124.  
  125. /* __________ INSTALLATION COMPLETE __________ */
  126.  
  127. @Finish
  128.     @Cls
  129.     @Product installation complete ...
  130.     @Pause
  131. @EndFinish
  132.